package com.itheima.MOop;

public class TestPhone {
    public static void main(String[] args) {
        phone p = new phone();
        p.brand = "华为";
        p.price = 3999;

        p.call("张三");
        p.sendMessage();

        phone p1 = new phone();
        p.brand = "小米";
        p.price = 2999;

        p.call("阿强");
        p.sendMessage();

    }
}
